package online_exams.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统通知表(TNotification)表实体类
 *
 * @author makejava
 * @since 2024-12-19 16:50:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TNotificationEntity {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 通知标题
     */
    @TableField(value = "title")
    private String title;
    /**
     * 通知内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 通知类型
     */
    @TableField(value = "type")
    private Object type;
    /**
     * 目标角色
     */
    @TableField(value = "target_role")
    private Object targetRole;
    /**
     * 通知状态：1-有效，0-无效
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 创建人ID
     */
    @TableField(value = "create_by")
    private Integer createBy;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;


}

